* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #0a0a12;
    color: #e0e0ff;
    font-family: Consolas, 'Courier New', monospace;
    height: 100vh;
    overflow: hidden;
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 15% 25%, rgba(0, 243, 255, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 85% 75%, rgba(255, 0, 255, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(0, 243, 255, 0.03) 0%, transparent 70%),
        linear-gradient(180deg, #0a0a12 0%, #06060e 100%);
    z-index: -2;
    pointer-events: none;
}

body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 243, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 243, 255, 0.025) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -1;
    pointer-events: none;
}

.cyber-container {
    max-width: 1400px;
    margin: 0 auto;
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.top-bar {
    flex-shrink: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 16px 20px 0;
}

.status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 15, 35, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 243, 255, 0.3);
    border-radius: 6px;
    padding: 10px 20px;
    margin-bottom: 12px;
    box-shadow:
        0 0 15px rgba(0, 243, 255, 0.15),
        inset 0 0 30px rgba(0, 243, 255, 0.03);
    position: relative;
    overflow: hidden;
}

.status-bar::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00f3ff, #ff00ff, transparent);
    animation: scanline 4s linear infinite;
}

.status-bar::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: -100%;
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 243, 255, 0.5), transparent);
    animation: scanline 6s linear infinite;
    animation-delay: 2s;
}

@keyframes scanline {
    0% { left: -100%; }
    100% { left: 200%; }
}

.status-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-label {
    color: rgba(160, 160, 255, 0.8);
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.status-value {
    color: #00f3ff;
    font-weight: 600;
    font-size: 0.85rem;
    text-shadow: 0 0 8px rgba(0, 243, 255, 0.5);
}

.status-value.warning {
    color: #ffaa00;
    text-shadow: 0 0 8px rgba(255, 170, 0, 0.5);
}

.status-value.connected {
    color: #00ff88;
    text-shadow: 0 0 8px rgba(0, 255, 136, 0.5);
}

.header-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: rgba(10, 15, 35, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 0, 255, 0.25);
    border-radius: 8px;
    box-shadow:
        0 0 20px rgba(255, 0, 255, 0.15),
        inset 0 0 40px rgba(255, 0, 255, 0.02);
    margin-bottom: 16px;
}

.cyber-title {
    font-size: 2.2rem;
    font-weight: 700;
    background: linear-gradient(90deg, #00f3ff, #ff00ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
    line-height: 1.2;
}

.cyber-subtitle {
    font-size: 1rem;
    -webkit-text-fill-color: rgba(160, 160, 255, 0.7);
    letter-spacing: 1px;
}

.balance-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.balance-display {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    padding: 12px 18px;
    border-radius: 6px;
    border: 1px solid rgba(0, 243, 255, 0.35);
    box-shadow: 0 0 12px rgba(0, 243, 255, 0.1);
}

.balance-label {
    color: rgba(160, 160, 255, 0.8);
    font-size: 0.95rem;
}

.balance-amount {
    color: #00f3ff;
    font-size: 1.6rem;
    font-weight: 700;
    text-shadow: 0 0 12px rgba(0, 243, 255, 0.6);
}

.currency-unit {
    color: #ffaa00;
    font-weight: 600;
    font-size: 1rem;
    text-shadow: 0 0 8px rgba(255, 170, 0, 0.4);
}

.cyber-button {
    position: relative;
    background: linear-gradient(135deg, rgba(0, 100, 200, 0.6), rgba(100, 0, 200, 0.6));
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(0, 243, 255, 0.3);
    border-radius: 4px;
    color: #e0e0ff;
    font-family: Consolas, 'Courier New', monospace;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 12px 24px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.cyber-button:hover {
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.4), 0 0 40px rgba(255, 0, 255, 0.2);
    border-color: rgba(0, 243, 255, 0.6);
    transform: translateY(-2px);
}

.cyber-button:active {
    transform: translateY(1px);
}

.button-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.5s ease;
}

.cyber-button:hover .button-glow {
    left: 100%;
}

.recharge-btn {
    background: linear-gradient(135deg, rgba(255, 0, 100, 0.5), rgba(255, 0, 255, 0.5));
    border-color: rgba(255, 0, 255, 0.4);
}

.recharge-btn:hover {
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.5), 0 0 40px rgba(255, 0, 100, 0.2);
    border-color: rgba(255, 0, 255, 0.7);
}

.scrollable-content {
    flex: 1;
    overflow-y: auto;
    padding: 0 20px 20px;
    min-height: 0;
}

.products-container {
    background: rgba(10, 15, 35, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 243, 255, 0.2);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.1);
    margin-bottom: 16px;
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0, 243, 255, 0.15);
}

.section-title {
    font-size: 1.4rem;
    color: #ff00ff;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    text-shadow: 0 0 10px rgba(255, 0, 255, 0.4);
}

.section-subtitle {
    font-size: 0.9rem;
    color: rgba(160, 160, 255, 0.6);
    text-shadow: none;
}

.selection-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.4);
    padding: 8px 16px;
    border-radius: 6px;
    border: 1px solid rgba(0, 243, 255, 0.3);
}

.indicator-text {
    color: rgba(160, 160, 255, 0.7);
    font-size: 0.9rem;
}

.indicator-value {
    color: #00f3ff;
    font-weight: 600;
    font-size: 1rem;
    text-shadow: 0 0 8px rgba(0, 243, 255, 0.5);
}

.product-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 420px;
    overflow-y: auto;
    padding: 4px;
    margin-bottom: 16px;
}

.product-item {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    background: rgba(15, 20, 50, 0.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(0, 243, 255, 0.15);
    border-radius: 6px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    min-height: 80px;
}

.product-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 243, 255, 0.06), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 6px;
    pointer-events: none;
}

.product-item:hover {
    transform: translateX(6px);
    border-color: rgba(0, 243, 255, 0.4);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.2);
}

.product-item:hover::before {
    opacity: 1;
}

.product-item.selected {
    border-color: rgba(0, 243, 255, 0.6);
    background: rgba(15, 30, 60, 0.9);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.3), inset 0 0 20px rgba(0, 243, 255, 0.05);
    transform: translateX(10px);
}

.product-item.selected::before {
    opacity: 1;
    background: linear-gradient(90deg, transparent, rgba(0, 243, 255, 0.12), transparent);
}

.product-item.selected::after {
    content: "▶";
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #00f3ff;
    font-size: 1.1rem;
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.7);
}

.product-icon {
    width: 56px;
    height: 56px;
    margin-right: 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 243, 255, 0.2);
    flex-shrink: 0;
}

.product-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.product-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: #00f3ff;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
    text-shadow: 0 0 6px rgba(0, 243, 255, 0.3);
}

.product-description {
    color: rgba(160, 160, 255, 0.7);
    font-size: 0.82rem;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    margin-left: 16px;
    min-width: 110px;
    flex-shrink: 0;
}

.price-amount {
    color: #00f3ff;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
    text-shadow: 0 0 8px rgba(0, 243, 255, 0.4);
}

.buy-btn {
    background: linear-gradient(135deg, rgba(0, 200, 100, 0.5), rgba(0, 255, 150, 0.5));
    border-color: rgba(0, 255, 150, 0.4);
    padding: 7px 14px;
    font-size: 0.85rem;
    min-width: 76px;
}

.buy-btn:hover {
    box-shadow: 0 0 15px rgba(0, 255, 150, 0.4);
    border-color: rgba(0, 255, 150, 0.7);
}

.buy-btn:disabled {
    background: linear-gradient(135deg, rgba(80, 80, 80, 0.5), rgba(120, 120, 120, 0.5));
    border-color: rgba(100, 100, 100, 0.3);
    cursor: not-allowed;
    opacity: 0.5;
}

.buy-btn:disabled:hover {
    transform: none;
    box-shadow: none;
    border-color: rgba(100, 100, 100, 0.3);
}

.list-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.control-btn {
    flex: 1;
    background: linear-gradient(135deg, rgba(60, 30, 120, 0.5), rgba(100, 0, 160, 0.5));
    border-color: rgba(160, 0, 255, 0.3);
    padding: 10px;
    font-size: 0.9rem;
}

.control-btn:hover {
    box-shadow: 0 0 15px rgba(160, 0, 255, 0.4);
    border-color: rgba(160, 0, 255, 0.6);
}

.buy-selected-btn {
    flex: 2;
    background: linear-gradient(135deg, rgba(0, 200, 100, 0.5), rgba(0, 255, 150, 0.5));
    border-color: rgba(0, 255, 150, 0.4);
}

.buy-selected-btn:hover {
    box-shadow: 0 0 20px rgba(0, 255, 150, 0.4);
    border-color: rgba(0, 255, 150, 0.7);
}

.buy-selected-btn:disabled {
    background: linear-gradient(135deg, rgba(80, 80, 80, 0.5), rgba(120, 120, 120, 0.5));
    border-color: rgba(100, 100, 100, 0.3);
    cursor: not-allowed;
    opacity: 0.5;
}

.buy-selected-btn:disabled:hover {
    transform: none;
    box-shadow: none;
    border-color: rgba(100, 100, 100, 0.3);
}

.transaction-section {
    background: rgba(10, 15, 35, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 0, 255, 0.2);
    border-radius: 8px;
    padding: 16px 20px;
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.1);
    flex-shrink: 0;
}

.transaction-section .section-title {
    margin-bottom: 12px;
}

.transaction-log {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 160px;
    overflow-y: auto;
}

.log-entry {
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 0.82rem;
    font-family: Consolas, 'Courier New', monospace;
}

.log-entry.system {
    background: rgba(0, 100, 255, 0.08);
    border-left: 3px solid rgba(0, 243, 255, 0.5);
}

.log-entry.purchase {
    background: rgba(0, 255, 150, 0.08);
    border-left: 3px solid rgba(0, 255, 150, 0.5);
}

.log-time {
    color: #00f3ff;
    margin-right: 12px;
    text-shadow: 0 0 4px rgba(0, 243, 255, 0.3);
}

.log-text {
    color: rgba(224, 224, 255, 0.85);
}

.cyber-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 360px;
    background: rgba(10, 15, 35, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 243, 255, 0.5);
    border-radius: 6px;
    padding: 0;
    box-shadow:
        0 0 25px rgba(0, 243, 255, 0.4),
        0 0 50px rgba(0, 243, 255, 0.1);
    z-index: 1000;
    display: none;
    overflow: hidden;
}

.notification-content {
    padding: 16px 20px;
}

.notification-text {
    color: #00f3ff;
    font-size: 1rem;
    font-weight: 600;
    display: block;
    margin-bottom: 12px;
    text-shadow: 0 0 8px rgba(0, 243, 255, 0.4);
    line-height: 1.4;
}

.notification-progress {
    height: 3px;
    background: linear-gradient(90deg, #00f3ff, #ff00ff);
    width: 100%;
    border-radius: 2px;
    animation: progressShrink 3s linear forwards;
}

@keyframes progressShrink {
    0% { width: 100%; }
    100% { width: 0%; }
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 243, 255, 0.6); }
    70% { box-shadow: 0 0 0 12px rgba(0, 243, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 243, 255, 0); }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #00f3ff, #ff00ff);
    border-radius: 4px;
    box-shadow: 0 0 6px rgba(0, 243, 255, 0.3);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #33f5ff, #ff33ff);
}

@media (min-width: 1400px) {
    .cyber-container {
        max-width: 1600px;
    }

    .top-bar {
        padding: 20px 30px 0;
    }

    .status-bar {
        padding: 12px 24px;
        margin-bottom: 14px;
    }

    .status-label,
    .status-value {
        font-size: 0.95rem;
    }

    .header-section {
        padding: 20px 24px;
    }

    .cyber-title {
        font-size: 2.6rem;
    }

    .cyber-subtitle {
        font-size: 1.1rem;
    }

    .balance-section {
        gap: 28px;
    }

    .balance-display {
        padding: 14px 22px;
    }

    .balance-label {
        font-size: 1.05rem;
    }

    .balance-amount {
        font-size: 1.8rem;
    }

    .currency-unit {
        font-size: 1.05rem;
    }

    .cyber-button {
        font-size: 1rem;
        padding: 14px 28px;
    }

    .scrollable-content {
        padding: 0 30px 24px;
    }

    .products-container {
        padding: 24px;
    }

    .products-header {
        margin-bottom: 20px;
        padding-bottom: 14px;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .selection-indicator {
        padding: 10px 20px;
    }

    .indicator-text {
        font-size: 0.95rem;
    }

    .indicator-value {
        font-size: 1.05rem;
    }

    .product-list {
        max-height: 480px;
        gap: 12px;
    }

    .product-item {
        padding: 16px 18px;
        min-height: 90px;
    }

    .product-icon {
        width: 64px;
        height: 64px;
        font-size: 1.8rem;
        margin-right: 20px;
    }

    .product-name {
        font-size: 1.25rem;
    }

    .product-description {
        font-size: 0.88rem;
    }

    .product-price {
        min-width: 130px;
    }

    .price-amount {
        font-size: 1.5rem;
    }

    .buy-btn {
        padding: 9px 18px;
        font-size: 0.9rem;
        min-width: 86px;
    }

    .list-controls {
        gap: 16px;
    }

    .control-btn {
        padding: 12px;
    }

    .transaction-section {
        padding: 20px 24px;
    }

    .transaction-log {
        max-height: 200px;
    }

    .log-entry {
        padding: 10px 14px;
        font-size: 0.88rem;
    }

    .cyber-notification {
        width: 420px;
        top: 24px;
        right: 24px;
    }

    .notification-content {
        padding: 20px 24px;
    }

    .notification-text {
        font-size: 1.1rem;
    }
}

@media (max-width: 1200px) {
    .top-bar {
        padding: 14px 16px 0;
    }

    .status-bar {
        padding: 9px 16px;
    }

    .status-label,
    .status-value {
        font-size: 0.8rem;
    }

    .header-section {
        padding: 14px 16px;
    }

    .cyber-title {
        font-size: 2rem;
    }

    .cyber-subtitle {
        font-size: 0.95rem;
    }

    .balance-section {
        gap: 16px;
    }

    .balance-display {
        padding: 10px 14px;
    }

    .balance-label {
        font-size: 0.88rem;
    }

    .balance-amount {
        font-size: 1.4rem;
    }

    .cyber-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .scrollable-content {
        padding: 0 16px 16px;
    }

    .products-container {
        padding: 16px;
    }

    .product-list {
        max-height: 360px;
    }

    .product-item {
        padding: 12px;
        min-height: 72px;
    }

    .product-icon {
        width: 48px;
        height: 48px;
        font-size: 1.4rem;
        margin-right: 14px;
    }

    .product-name {
        font-size: 1.05rem;
    }

    .product-description {
        font-size: 0.78rem;
    }

    .price-amount {
        font-size: 1.15rem;
    }

    .buy-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
        min-width: 68px;
    }

    .transaction-section {
        padding: 14px 16px;
    }

    .transaction-log {
        max-height: 140px;
    }

    .log-entry {
        font-size: 0.78rem;
    }
}

@media (max-width: 992px) {
    .header-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .balance-section {
        width: 100%;
        justify-content: space-between;
        gap: 12px;
    }

    .products-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .selection-indicator {
        width: 100%;
        justify-content: space-between;
    }

    .product-item {
        flex-wrap: wrap;
    }

    .product-item.selected::after {
        right: 12px;
    }

    .product-price {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        margin-left: 0;
        margin-top: 8px;
        min-width: auto;
    }

    .price-amount {
        margin-bottom: 0;
    }

    .list-controls {
        flex-wrap: wrap;
    }

    .control-btn {
        flex: 1;
        min-width: 110px;
    }

    .buy-selected-btn {
        flex: 2;
        min-width: 180px;
    }
}

@media (max-width: 768px) {
    .top-bar {
        padding: 10px 12px 0;
    }

    .status-bar {
        padding: 8px 12px;
        gap: 4px;
    }

    .status-item {
        gap: 4px;
    }

    .status-label {
        font-size: 0.7rem;
    }

    .status-value {
        font-size: 0.7rem;
    }

    .header-section {
        padding: 12px;
        gap: 10px;
    }

    .cyber-title {
        font-size: 1.5rem;
        letter-spacing: 1px;
    }

    .cyber-subtitle {
        font-size: 0.8rem;
    }

    .balance-section {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    .balance-display {
        width: 100%;
        justify-content: space-between;
        padding: 10px 14px;
    }

    .balance-label {
        font-size: 0.82rem;
    }

    .balance-amount {
        font-size: 1.3rem;
    }

    .currency-unit {
        font-size: 0.88rem;
    }

    .cyber-button {
        width: 100%;
        padding: 10px;
        font-size: 0.88rem;
    }

    .scrollable-content {
        padding: 0 12px 12px;
    }

    .products-container {
        padding: 12px;
    }

    .products-header {
        margin-bottom: 12px;
        padding-bottom: 10px;
    }

    .section-title {
        font-size: 1.15rem;
    }

    .section-subtitle {
        font-size: 0.8rem;
    }

    .selection-indicator {
        padding: 6px 12px;
    }

    .indicator-text {
        font-size: 0.82rem;
    }

    .indicator-value {
        font-size: 0.9rem;
    }

    .product-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        max-height: none;
        overflow-y: visible;
    }

    .product-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 12px;
        min-height: auto;
    }

    .product-item:hover {
        transform: translateX(0) translateY(-3px);
    }

    .product-item.selected {
        transform: translateX(0) translateY(-3px);
    }

    .product-item.selected::after {
        top: 8px;
        right: 8px;
        font-size: 0.9rem;
    }

    .product-icon {
        margin-right: 0;
        margin-bottom: 8px;
        width: 44px;
        height: 44px;
        font-size: 1.3rem;
    }

    .product-info {
        width: 100%;
        margin-bottom: 8px;
    }

    .product-name {
        font-size: 0.95rem;
        margin-bottom: 3px;
    }

    .product-description {
        font-size: 0.72rem;
        -webkit-line-clamp: 2;
    }

    .product-price {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        margin-left: 0;
        margin-top: 0;
        min-width: auto;
    }

    .price-amount {
        font-size: 1rem;
        margin-bottom: 0;
    }

    .buy-btn {
        padding: 5px 10px;
        font-size: 0.75rem;
        min-width: auto;
    }

    .list-controls {
        flex-direction: column;
        gap: 8px;
    }

    .control-btn,
    .buy-selected-btn {
        width: 100%;
        flex: none;
    }

    .transaction-section {
        padding: 12px;
    }

    .transaction-section .section-title {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }

    .transaction-log {
        max-height: 120px;
    }

    .log-entry {
        padding: 6px 10px;
        font-size: 0.75rem;
    }

    .log-time {
        margin-right: 8px;
    }

    .cyber-notification {
        width: calc(100% - 24px);
        right: 12px;
        left: 12px;
        top: 12px;
    }

    .notification-content {
        padding: 14px 16px;
    }

    .notification-text {
        font-size: 0.9rem;
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .top-bar {
        padding: 8px 8px 0;
    }

    .status-bar {
        padding: 6px 10px;
        flex-direction: column;
        gap: 3px;
    }

    .status-item {
        justify-content: space-between;
        width: 100%;
    }

    .status-label {
        font-size: 0.68rem;
    }

    .status-value {
        font-size: 0.68rem;
    }

    .header-section {
        padding: 10px;
    }

    .cyber-title {
        font-size: 1.3rem;
    }

    .cyber-subtitle {
        font-size: 0.75rem;
    }

    .balance-display {
        padding: 8px 10px;
    }

    .balance-label {
        font-size: 0.78rem;
    }

    .balance-amount {
        font-size: 1.15rem;
    }

    .currency-unit {
        font-size: 0.82rem;
    }

    .cyber-button {
        padding: 8px;
        font-size: 0.82rem;
        letter-spacing: 0.5px;
    }

    .scrollable-content {
        padding: 0 8px 8px;
    }

    .products-container {
        padding: 10px;
    }

    .products-header {
        margin-bottom: 10px;
        padding-bottom: 8px;
    }

    .section-title {
        font-size: 1.05rem;
    }

    .selection-indicator {
        padding: 5px 10px;
    }

    .indicator-text {
        font-size: 0.78rem;
    }

    .indicator-value {
        font-size: 0.85rem;
    }

    .product-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .product-item {
        padding: 10px;
    }

    .product-item.selected::after {
        font-size: 0.8rem;
        top: 6px;
        right: 6px;
    }

    .product-icon {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
        margin-bottom: 6px;
    }

    .product-name {
        font-size: 0.88rem;
        margin-bottom: 2px;
    }

    .product-description {
        font-size: 0.68rem;
        line-height: 1.3;
    }

    .product-price {
        margin-top: 4px;
    }

    .price-amount {
        font-size: 0.92rem;
    }

    .buy-btn {
        padding: 4px 8px;
        font-size: 0.7rem;
    }

    .transaction-section {
        padding: 10px;
    }

    .transaction-section .section-title {
        font-size: 1rem;
        margin-bottom: 8px;
    }

    .transaction-log {
        max-height: 100px;
    }

    .log-entry {
        padding: 5px 8px;
        font-size: 0.7rem;
    }

    .cyber-notification {
        width: calc(100% - 16px);
        right: 8px;
        left: 8px;
        top: 8px;
    }

    .notification-content {
        padding: 12px;
    }

    .notification-text {
        font-size: 0.85rem;
    }

    ::-webkit-scrollbar {
        width: 5px;
    }
}
